package com.ruoyi.welcome.service.impl;

import com.ruoyi.welcome.domain.DocWelContractNum;
import com.ruoyi.welcome.mapper.DocWelContractNumMapper;
import com.ruoyi.welcome.service.DocWelContractNumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 合同数量统计业务层实现
 */
@Service
public class DocWelContractNumServiceImpl implements DocWelContractNumService {

    @Autowired
    private DocWelContractNumMapper docWelContractNumMapper;

    @Override
    public Integer getContractCountByState1() {
        // 调用Mapper层查询状态为1的合同数量
        return docWelContractNumMapper.selectContractCountByState1();
    }
}
